package com.blrs.domain;

import java.util.ArrayList;
import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 项目售后对象 project_sales
 * 
 * @author yang
 * @date 2023-12-07
 */
public class ProjectSales extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 售后id */
    private String afterSalesId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String enterpriseName;

    /** 证书类别 */
    @Excel(name = "证书类别")
    private String certificateType;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certificateNo;

    /** 证书名称 */
    @Excel(name = "证书名称")
    private String certificateName;

    /** 服务机构(当前组织机构) */
    @Excel(name = "服务机构(当前组织机构)")
    private String serviceInstitutionName;

    /** 发证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发证时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issuanceTime;

    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveTime;

    /** 对接时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "对接时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dockingTime;

    /**
     * 快递时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "快递时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryTime;

    @Excel(name = "单号")
    private String oddNumbers;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "年度监审时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    @Excel(name = "交付物")
    private String deliverables;

    /**
     * 交付物对应数组
     * @return
     */
    private ArrayList<String> checkList;

    public ArrayList<String> getCheckList() {
        return checkList;
    }

    public void setCheckList(ArrayList<String> checkList) {
        this.checkList = checkList;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getOddNumbers() {
        return oddNumbers;
    }

    public void setOddNumbers(String oddNumbers) {
        this.oddNumbers = oddNumbers;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getDeliverables() {
        return deliverables;
    }

    public void setDeliverables(String deliverables) {
        this.deliverables = deliverables;
    }

    /** 操作人id */
    private Long operateId;

    /** 部门id */
    private Long departmentId;

    /** 部门名称 */
    private String departmentName;

    /** 组织机构id */
    private Long organizationId;

    /** 组织机构名称 */
    private String organizationName;

    /** 创建时间 */
    private Date creationTime;

    /** 修改时间 */
    private Date operateTime;

    /** 创建人id */
    private String createId;

    /** 分类id */
    private String classificationId;

    /** 附件 */
    private String uploadFile;

    /** 项目id */
    private String projectId;

    /** 客户id */
    private String enterpriseId;
    /** 归属于 */
    private Long belongTo;

    //附件路径
    private String url;

    /**
     * 创建人姓名
     * @return
     */
    private String createName;


    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getBelongTo() {
        return belongTo;
    }

    public void setBelongTo(Long belongTo) {
        this.belongTo = belongTo;
    }

    public void setAfterSalesId(String afterSalesId)
    {
        this.afterSalesId = afterSalesId;
    }

    public String getAfterSalesId() 
    {
        return afterSalesId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setEnterpriseName(String enterpriseName) 
    {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseName() 
    {
        return enterpriseName;
    }
    public void setCertificateType(String certificateType) 
    {
        this.certificateType = certificateType;
    }

    public String getCertificateType() 
    {
        return certificateType;
    }
    public void setCertificateNo(String certificateNo) 
    {
        this.certificateNo = certificateNo;
    }

    public String getCertificateNo() 
    {
        return certificateNo;
    }
    public void setCertificateName(String certificateName) 
    {
        this.certificateName = certificateName;
    }

    public String getCertificateName() 
    {
        return certificateName;
    }
    public void setServiceInstitutionName(String serviceInstitutionName) 
    {
        this.serviceInstitutionName = serviceInstitutionName;
    }

    public String getServiceInstitutionName() 
    {
        return serviceInstitutionName;
    }
    public void setIssuanceTime(Date issuanceTime) 
    {
        this.issuanceTime = issuanceTime;
    }

    public Date getIssuanceTime() 
    {
        return issuanceTime;
    }
    public void setEffectiveTime(Date effectiveTime) 
    {
        this.effectiveTime = effectiveTime;
    }

    public Date getEffectiveTime() 
    {
        return effectiveTime;
    }
    public void setDockingTime(Date dockingTime) 
    {
        this.dockingTime = dockingTime;
    }

    public Date getDockingTime() 
    {
        return dockingTime;
    }
    public void setOperateId(Long operateId) 
    {
        this.operateId = operateId;
    }

    public Long getOperateId() 
    {
        return operateId;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setOrganizationName(String organizationName) 
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName() 
    {
        return organizationName;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }
    public void setCreateId(String createId) 
    {
        this.createId = createId;
    }

    public String getCreateId() 
    {
        return createId;
    }
    public void setClassificationId(String classificationId) 
    {
        this.classificationId = classificationId;
    }

    public String getClassificationId() 
    {
        return classificationId;
    }
    public void setUploadFile(String uploadFile) 
    {
        this.uploadFile = uploadFile;
    }

    public String getUploadFile() 
    {
        return uploadFile;
    }
    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }
    public void setEnterpriseId(String enterpriseId) 
    {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseId() 
    {
        return enterpriseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("afterSalesId", getAfterSalesId())
            .append("projectName", getProjectName())
            .append("enterpriseName", getEnterpriseName())
            .append("certificateType", getCertificateType())
            .append("certificateNo", getCertificateNo())
            .append("certificateName", getCertificateName())
            .append("serviceInstitutionName", getServiceInstitutionName())
            .append("issuanceTime", getIssuanceTime())
            .append("effectiveTime", getEffectiveTime())
            .append("dockingTime", getDockingTime())
            .append("operateId", getOperateId())
            .append("departmentId", getDepartmentId())
            .append("departmentName", getDepartmentName())
            .append("organizationId", getOrganizationId())
            .append("organizationName", getOrganizationName())
            .append("creationTime", getCreationTime())
            .append("operateTime", getOperateTime())
            .append("createId", getCreateId())
            .append("classificationId", getClassificationId())
            .append("uploadFile", getUploadFile())
            .append("projectId", getProjectId())
            .append("enterpriseId", getEnterpriseId())
            .toString();
    }
}
